home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ BSOD 1.xpl < prev    next >
Text File  |  2000-12-13  |  2KB  |  66 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="8"
  3. "COUNT"="1"
  4. "UIPATH"="Appearance\System\BSOD"
  5. "NAME"="Text Color"
  6. "VERSION"="1.15"
  7. "OSVERSION"="10101"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Set Color"
  10. "TEXT 2"="Reset Color"
  11. "DESCRIPTION 1"="This plug-in allows you to change the color of the text displayed on BSOD [Blue Screen of Death] error messages in Windows 9x/Me computers."
  12. "DESCRIPTION 2"="The default colors are "Blue" for background and "Bright White" for text color."
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"=" "
  17. "COMMENT 2"="Thanks to AXCEL216@aol.com for the detailed information - please see http://members.aol.com/axcel216/ for lots of other great tips and tricks and write to AXCEL216@aol.com for more information."
  18.  
  19.  
  20.  
  21. sFile="SYSTEM.INI"
  22. sSect="386enh"
  23. sVal_Text="MessageTextColor"
  24. sVal_Back="MessageBackColor"
  25. sCOL_NR=""
  26. sCOL_TX=""
  27. Sub Plugin_Initialize 
  28.     sCOL_NR=Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F")
  29.     sCOL_TX=Array("Black","Blue","Green","Cyan","Red","Magenta","Yellow/Brown","White","Gray","Bright Blue","Bright Green","Bright Cyan","Bright Red","Bright Magenta","Bright Yellow","Bright White")
  30.  
  31.     For i=0 to UBound(sCOL_TX)
  32.         Call SetUIElement(i+1,sCOL_TX(i))
  33.     Next
  34. End Sub
  35.  
  36. Sub Plugin_CheckData(ElementIndex)
  37. End Sub
  38.  
  39. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  40.  If ElementIndex=1 then 'Set Color
  41.     if ElementSubIndex=0 then 
  42.        Call MsgWarning("No item selected - please select an item first.")
  43.        Exit Sub 'bye bye
  44.     end if
  45.  
  46.     s=sCOL_NR(ElementSubIndex-1)
  47.     Call IniWriteValue(sFile,sSect,sVal_Text,s)
  48.  
  49.  else 'Reset Color
  50.     's=RegReadValue(sp)
  51.     'if not IsEmpty(s) then
  52.     '   Call RegDeleteValue(sp)
  53.     'end if       
  54.     'Call MsgInformatioN("The default color has been restored")
  55.  end if
  56.  
  57.  
  58.  Call Logoff()
  59. End Sub
  60.  
  61. Sub Plugin_Terminate 
  62. End Sub
  63.  
  64.  
  65.  
  66.